<script setup>
import Header from '@/layout/header.vue'
</script>

<template>
  <div>
    <!-- 导航栏 -->
    <Header />
    <!-- 主要内容区域 -->
    <div class="main">
      <router-view v-slot="{ Component }">
        <keep-alive include="Home">
          <component :is="Component" />
        </keep-alive>
      </router-view>
    </div>

    <!-- 页脚 -->
    <!-- <el-footer class="footer">
      <p>&copy; 2024 Vue 3 项目. All rights reserved.</p>
    </el-footer> -->
  </div>
</template>

<style scoped>
</style>
